<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `weixin_actlist`;");
E_C("CREATE TABLE `weixin_actlist` (
  `lid` int(11) NOT NULL AUTO_INCREMENT,
  `aid` int(11) NOT NULL,
  `title` varchar(200) NOT NULL,
  `awardname` varchar(200) NOT NULL,
  `randnum` decimal(6,2) NOT NULL,
  `num` int(11) NOT NULL,
  `isopen` tinyint(1) NOT NULL,
  PRIMARY KEY (`lid`),
  KEY `aid` (`aid`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='奖项明细'");
E_D("replace into `weixin_actlist` values('1','1','一等奖','ipad air','0.50','1','1');");
E_D("replace into `weixin_actlist` values('2','1','二等奖','ipad mini','10.00','5','1');");
E_D("replace into `weixin_actlist` values('3','1','三等奖','itouch','20.00','10','1');");

require("../../inc/footer.php");
?>